import 'package:flutter/material.dart';

class CategoryPage extends StatefulWidget {
  const CategoryPage({super.key});

  @override
  State<CategoryPage> createState() => _CategoryPageState();
}

class _CategoryPageState extends State<CategoryPage> {
  @override
  Widget build(BuildContext context) {
   return  Center(
      child: Column(
        mainAxisAlignment: MainAxisAlignment.center,
        children: [
          
          ElevatedButton(onPressed: (){
             Navigator.pushNamed(context, "/search");
          }, child: const Text("跳转到search")),
         
        ],
      ),      
    );
  }
}